using System;
using System.Data;
using System.Configuration;
using System.Collections;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Web.UI.HtmlControls;

public partial class DynamicHeader : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
		Page.Header.Title = "Dynamically Titled Page";

        // Define a metadata tag with description information.
        HtmlMeta metaDescription = new HtmlMeta();
        metaDescription.Name = "description";
        metaDescription.Content = "A great website to learn .NET";

        // Add it.
        Page.Header.Controls.Add(metaDescription);

        // Define and add a second metadata tag.
        HtmlMeta metaKeywords = new HtmlMeta();
        metaKeywords.Name = "keywords";
        metaKeywords.Content = ".NET, C#, ASP.NET";
        Page.Header.Controls.Add(metaKeywords);

    }
}
